Digital filter and reference signal cancelling device and method using the same

ABSTRACT

A second-order bandpass IIR type digital filter, assuming that a sampling frequency is six times as large as a central frequency of a passing frequency band, a first-order input feedback coefficient b 1  is set at −1+2 −n  and a second-order input feedback coefficient b 2  is set at 1−2 −(n−1)  (n: an odd number of 3 or larger). In this configuration, second-order IIP type digital filter with a simple arrangement and high accuracy can be provided. In a reference signal canceling apparatus, using such a digital filter, the reference signal can be canceled effectively and completely.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to a second-order IIR type digital filter and a reference signal canceling device and method using it.

2. Description of the Related Art

In FM stereo broadcasting, an FM detected signal includes a pilot signal at a single frequency of 19 KHz which is a reference for stereo demodulation. In order to cancel such a pilot signal, the circuit as shown in FIG. 4 has been proposed. Specifically, the pilot signal is extracted by a bandpass filter 20 which is an IIR (Infinite Impulse Response) filter and supplied to an attenuator 21, thereby canceling the pilot signal.

However, the above IIR filter provides changes in a central frequency and phase characteristic according to the accuracy in the coefficient of the filter. In order to remove the change, the number of bits of the coefficient must be increased. This gave raise to an increase in the circuit size and production cost.

SUMMARY OF THE INVENTION

An object of this invention is to provide a second-order IIR type digital filter with a simple arrangement and high accuracy.

Another object of this invention is to provide a reference signal canceling apparatus using such a digital filter.

In order to attain the above object, in accordance with the first aspect of the this invention, there is provided a second-order bandpass IIR type digital filter, wherein assuming that a sampling frequency is six times as large as a central frequency of a passing frequency band, a first-order input feedback coefficient b1 is set at −1+2^(−n) and a second-order input feedback efficient b2 is set at 1−2^(−(n−1))(n: an odd number of 3 or larger).

In this configuration, the phases at the central frequency at the input and output of the digital filter can be made to agree to each other.

Since the coefficient is set as power of 2, it can be easily acquired with high accuracy.

In a preferred embodiment, a coefficient a₀ of an zero-order output is set at 2^(−n) (a₀=2^(−n)) and a coefficient a₂ of a second-order output is set at −2^(−n) (a₂=−2^(−n)). Therefore, the amplitudes at the central frequency at the input and output can be made to agree to each other.

In a preferred embodiment, the second-order output is subtracted from the zero-order output and a subtraction result is multiplied by 2^(−n). In this configuration, the digital filter can be simplified.

In accordance with the second aspect of this invention, in a reference signal canceling apparatus comprising a filter for extracting a reference signal contained in an FM detected signal and a subtracter for subtracting an output form the filter from the FM detected signal, the above digital filter according to the first aspect of this invention is used as the above filter.

In this configuration, the reference signal (pilot signal) can be removed easily and completely.

In accordance with the third aspect of this invention, a method of canceling the reference signal using the digital filter according to the first aspect is also provided.

The above and other objects and features of the invention will be more apparent from the following description taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing the first embodiment of this invention;

FIG. 2 is a block diagram showing the second embodiment of this invention;

FIG. 3 is a block diagram showing a second-order IIR type digital filer; and

FIG. 4 is a block diagram showing a conventional pilot signal canceling apparatus.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Prior to explaining an embodiment of this invention, referring to FIG. 3, an explanation will be given of the operating theory of this invention.

FIG. 3 shows the arrangement of a general second-order IIR type digital filter.

In FIG. 3, the transfer function H(Z) of the filter can be expressed by H(Z)=(a ₀ +a ₁ Z ⁻¹ +a ₂ Z ⁻²)/(1+b ₁ Z ⁻¹ +b ₂ Z ⁻²)  (1)

The amplitude characteristic M(ω) can be expressed by M(ω)=(O/Q)^(0.5)  (2)

The delay characteristic τ(ω) can be expressed by τ(ω)=(P/O−R/Q)T  (3)

where Q=A ² +C ² P=C(C+a ₂ Sin 2ωT)−A(A−a ₀ +a ₂ Cos 2ω(T) Q=B ² +D ² R=D(D+b ₂ Sin 2ωT)+B(B−1+b ₂ Cos ωT) T=sampling time  (4)

where A=a ₀ +a ₁ Cos ωT+a ₂ Cos 2ωT B=1+b ₁ Cos ωT+b ₂ Cos 2ωT C=a ₁ Sin ωT+a ₂ Sin 2ωT D=b ₁ Sin ωT+b ₂ Sin 2ωT  (5)

In the general form of the second bandpass filter, a₁=0 a ₂ =−a ₂  (6)

Setting the sampling frequency fs (=1/T) at six times as large as the central frequency of the bandpass filter, ωcT=2πfcT=π/3  (7) 2ωcT=2π/3  (8)

Further Cos 2ωT=−Cos ωT  (9) Sin 2ωT=Sin ωT  (10) 2 Cos ωT=1  (11)

Assuming that a ₀ =a,a ₂ =−a  (12)

in Equation (5), A=a+a Cos ωT B=(2+b ₁ −b ₂)Cos ωT C=−a Sin ωT D=(b ₁ +b ₂)Sin ωT  (13)

Therefore, in Equation (4), O=2a ²(1+Cos ωT) Q=(2+b ₁ −b ₂) ² Cos² ωT+(b ₁ +b ₂)² Sin ωT P=2a ²(Sin² ωT−Cos² ωT−Cos ωT) R=(b ₁ +b ₂)(b ₁+2b ₂)Sin² ωT+(2+b ₁ −b ₂)(b ₁−2b ₂)Cos² ωT  (14)

Assuming that b ₁=−(1−a) b ₂=1−2a  (15) b ₁ +b ₂ =−a b ₁+2b ₂=1−3a 2+b ₁ −b ₂=3a b ₁−2b ₂=−3+5a  (16)

Substituting Equation (16) into Q and R in Equation (14), Q=9a Cos ωT+a Sin² ωT R=−a(1−3a)Sin² ωT+3a(−3+5a)Cos² ωT  (17)

Considering Equation (7), Cos² ωT=¼, Sin² ωT=¾  (18)

Therefore, O=3a ² p=0 Q=3a ² R=3a(2a−1)  (19)

Thus, substituting Equation (19) into Equation (3), the amplitude characteristic M(ω) is expressed by M(ω)=(O/Q)^(0.5)1  (20)

The delay characteristic τ(ω) is expressed by τ(ω)=(P/O−R/Q)T=(1−2a)/6afc  (21)

Now, assuming that a=2^(−n)(n: integer of 0 or more)  (22)

the delay characteristic τ(ω) is expressed by τ(ω)=(2^(n)−2)/6fc  (23)

Assuming that n=3,5,7,9, . . . . . . (n: positive integer other than 1)  (24) τ(ω)fc=1,5,21,85,  (25)

Namely, the group delay can be taken as integer times of 1/fc and the phases of the central frequencies at the input and output agree with each other.

Assuming that n=2m+1(m: integer of 0 or more)  (26)

Equation (23) can be expressed by τ(ω)=(2^(2m)−1)/3fc  (27)

Using n in Equation (26), a in Equation (22) can be expressed by a=2^(−(2m+1))  (28)

Further, b¹ and b² in Equation (15) can be expressed by b1=−(1−2^(−(2m+1))) b2=1−2^(−2m)  (29)

The procedure described above can be summarized as follows.

Assuming that 1. the sampling frequency fs is six-times of the central frequency of the bandpass filter, 2. n is an odd number of 3 or greater, 3. a ₀=2^(−n) ,a ₁=0,a ₂=−2^(−n) 4. b ₁−(1−2)^(−n) and 5. b ₂=1−2^(−(n−1)), 6. the amplitude characteristic M(ωc)=1 and 7. the delay characteristic τ(ωc)=(2^(n)−2)/6fc.

Otherwise, assuming that 4′. the sampling frequency fs is six-times of the central frequency of the bandpass filter, 2′. m is an integer of m>3, 3′. a ₀=2^(−(2m+1)) ,a ₁=0,a ₂=−2^(−n) 4′. b ₁=−(1−2^(−(2m+1))) and 5. b ₂=1−2^(−m), 6. the amplitude characteristic M(ωc)=1 and 7. the delay characteristic τ(ωc)=(2^(2m)−1)/3fc.  (31)

Therefore, the phases and amplitudes at the central frequency at the input and output agree to each other.

Further, a₀=2^(−(2m+1)), the coefficient can be calculated by “bit shift”, thus facilitating the operation. In addition, because of no coefficient error, the operation can be carried with high accuracy.

The band of the filter becomes narrow as a₀ approaches 0. For this reason, the objective bandwidth can be acquired by selecting a₀ according to the object.

Now referring to FIG. 1, an explanation will be given of a first embodiment of this invention. FIG. 1 is an arrangement view of the first embodiment.

In FIG. 1, reference numerals 1 and 2 denote a delay operator, 3 a first-order input feedback coefficient (b₁), 4 a second-order input feedback coefficient (b₂) 5 and 6 are an adder, respectively, 7 a zero-order output coefficient (a₀) 8 a second-order output coefficient, 9 an adder and 10 a sampling pulse for processing digital signal processing.

The frequency fs of the sampling pulse is set at six times of the central frequency fc of the bandpass filter as expressed by Equation (30). Assuming that n is an odd number of 3 or more, the first-order input feedback coefficient (b₁) 3 is set at −(1−2^(−n)) and the second-order input feedback coefficient (b₂) 4 is set at 1−2^(−(n−1)).

The zero-order output coefficient (a₀) 7 is set at 2^(−n) and the second-order output coefficient (a₂) 8 is set at −2^(−n).

In the operation with the above settings, at the input and output of the filter, the phase and amplitude can be caused to agree to each other.

Since the coefficient is set as power of 2, it can be easily acquired with high accuracy.

Now referring to FIG. 2, an explanation will be given of a second embodiment of this invention. FIG. 2 is an arrangement view of the first embodiment.

In the first embodiment, the zero-order output coefficient (a₀) 7 was set at 2^(−n) (a₀=2^(−n)) and the second-order output coefficient (a₂) was set at −2^(−n) (a₂=−2^(−n)).

Specifically, a₀=−a₂. The zero-order output was multiplied by a₀, and the second-order output was multiplied by −a₂. The outputs thus acquired were added to acquire an output signal.

The second embodiment intends to reduce the number of multiplication.

Specifically, as seen from FIG. 2, in a subtracter 11, the second-order output is reduced from the zero-order output, and the output from the subtracter 11 is multiplied by a coefficient (a=2^(−n)) 12.

A reference signal canceling apparatus according to this invention can be constructed using the second-order IIR digital filter hitherto explained. Specifically, in the second-order IIR digital filter, the central frequency is set at 19 KHz of the pilot signal and the sampling frequency is set at six times as large as this frequency. The digital filter with such settings is substituted for the bandpass filter in the pilot signal canceling apparatus described with reference to FIG. 4. Thus, the phase and amplitude of the pilot signal at the output can be made equal to those at the input. The difference in these phase and amplitude between the input and output can be taken in the subtracter 21 so that the pilot signal can be completely canceled from the FM detected signal. Any configuration can be adopted as long as the reference signal at a single frequency contained in a prescribed signal can be canceled.

Further, for example, in an RDS broadcasting, a reference signal at 57 KHz is superposed on a detected signal for data demodulation. In this case, by setting the sampling frequency at six times as large as 57 KHz, the reference signal at 57 KHz can be easily canceled. 

1. A reference signal canceling apparatus comprising: a filter for extracting a reference signal; and a subtractor for subtracting an output from said filter from said reference signal, wherein said filter is constructed as a second-order bandpass Infinite Impulse Response (IIR) type digital filter with a transfer function H(Z) expressed by ${{H(Z)} = \frac{\left( {a_{0} + {a_{2}Z^{- 2}}} \right)}{\left( {1 + {b_{1}Z^{- 1}} + {b_{2}Z^{- 2}}} \right)}};$ a first-order input feedback coefficient b₁ set at −1+2^(−n); and a second-order input feedback coefficient b₂ set at 1−2^(−(n−1)), where n is an odd number of 3 or larger, wherein a zero-order output coefficient a₀ is set at 2^(−n) (a₀=2^(−n)) and a coefficient a₂ of a second-order output is set at −2^(−n) (a₂=−2^(−n)), and wherein the first-order input feedback coefficient b₁ and the second-order input feedback coefficient b₂ are set when a sampling pulse, for processing digital signal processing, is set to a frequency six times as large as a central frequency of a passing frequency band of the second-order bandpass IIR digital filter.
 2. A reference signal canceling apparatus comprising: a filter for extracting a reference signal; and a subtractor for subtracting an output from said filter from said reference signal, wherein said filter is constructed as a second-order bandpass Infinite Impulse Response (IIR) type digital filter with a transfer function H(Z) expressed by ${{H(Z)} = \frac{a\left( {1 - Z^{- 2}} \right)}{\left( {1 + {b_{1}Z^{- 1}} + {b_{2}Z^{- 2}}} \right)}},$ a first-order input feedback coefficient b₁ set at −1+2^(−n); and a second-order input feedback coefficient b₂ set at 1−2^(−(n−1)), where n is an odd number of 3 or larger, wherein a second-order output is subtracted from a zero-order output and the subtraction result is multiplied by a (a=2^(−n)), and wherein the first-order input feedback coefficient b₁ and the second-order input feedback coefficient b₂ are set when a sampling pulse, for processing digital signal processing, is set to a frequency six times as large as a central frequency of a passing frequency band of the second-order bandpass IIR digital filter.
 3. A reference signal canceling apparatus comprising: a filter for extracting a reference signal contained in a frequency modulation (FM) detected signal; and a subtracter for subtracting an output from the filter from said FM detected signal, wherein said filter is constructed as a second-order bandpass Infinite Impulse Response (IIR) type digital filter with a transfer function H(Z) expressed by ${{H(Z)} = \frac{\left( {a_{0} + {a_{1}Z^{- 1}} + {a_{2}Z^{- 2}}} \right)}{\left( {1 + {b_{1}Z^{- 1}} + {b_{2}Z^{- 2}}} \right)}},$ and when a sampling pulse for processing digital signal processing is set to a frequency is six times as large as a central frequency of a passing frequency band of the second-order bandpass IIR digital filter, a first-order input feedback coefficient b₁ is set at −1+2^(−n) and a second-order input feedback coefficient b₂ is set at 1−2^(−(n−1)), where n is an odd number of 3 or larger, and a₀, a₁, and a₂ are output coefficients having real values.
 4. A method of canceling a reference signal in a reference signal canceling apparatus having a filter for extracting a reference signal contained in a frequency modulation (FM) detected signal and a subtracter for subtracting an output from the filter from said FM detected signal, said method comprising: constructing said filter as a second-order bandpass Infinite Impulse Response (IIR) type digital filter with a transfer function ${{H(Z)} = \frac{\left( {a_{0} + {a_{1}Z^{- 1}} + {a_{2}Z^{- 2}}} \right)}{\left( {1 + {b_{1}Z^{- 1}} + {b_{2}Z^{- 2}}} \right)}};$ setting a first-order input feedback coefficient b₁ at −1+2^(−n); and setting a second-order input feedback coefficient b₂ at 1−2^(−(n−1)), where n is an odd number of 3 or larger, and a₀, a₁, and a₂ are output coefficients having real values, wherein the first-order input feedback coefficient and the second-order input feedback coefficient are set when a sampling pulse, for processing digital signal processing, is set to a frequency six times as large as a central frequency of a passing frequency band of the second-order bandpass IIR digital filter. 